cmake_minimum_required(VERSION 2.8)


file(GLOB test_src "*.c")

if (${UNIX_OS})
	include_directories(
		${PROJECT_SOURCE_DIR}/nettls
		${PROJECT_SOURCE_DIR}/crt
		${by3rd_library_include}
		/usr/local/include
		/opt/local/include
		/usr/include
		)
elseif (${WIN_OS})

else()

endif()

link_directories (
		/usr/local/lib
		/opt/local/lib
		/opt/lib
		${PROJECT_SOURCE_DIR}/lib//${CMAKE_BUILD_TYPE}/
		)


add_executable(stdcrt_test ${test_src})
set_target_properties(stdcrt_test PROPERTIES OUTPUT_NAME "stdcrt_test")
set_target_properties(stdcrt_test PROPERTIES COMPILE_FLAGS ${execute})
set_target_properties(stdcrt_test PROPERTIES COMPILE_FLAGS ${compile})
target_link_libraries(stdcrt_test stdcrt)
target_link_libraries(stdcrt_test nettls)










